package com.itheima.security.distributed.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @USER: ysx
 * @CREATE: 2021/2/19 15:23
 */
//@EnableDiscoveryClient

@SpringBootApplication
@EnableEurekaClient
@EnableHystrix
@EnableFeignClients(basePackages = {"com.itheima.security.distributed.order"})
public class OrderServer_0 {

    public static void main(String[] args) {
        SpringApplication.run(OrderServer_0.class, args);
    }

}
